<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head lang="zh-CN">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>E安全(人脸识别门禁)</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--<link rel="stylesheet" type="text/css" href="styles.css">-->
	<link href="${basePath}/bootstrap/css/bootstrap.min.css" rel="stylesheet">
	<style type="text/css">
	</style>
	<script type="text/javascript">
			function my(){
				var moblie=document.getElementById("moblie").value;
				window.location.href="${basePath}/u/home?userid="+moblie;
			}
			function systemMassage(){
				var moblie=document.getElementById("moblie").value;
				window.location.href="${basePath}/u/Jumpdoor?userid="+moblie;
			}
			function rightUnit(){
				var moblie=document.getElementById("moblie").value;
				var yphone=document.getElementById("yphone").value;
				window.location.href="${basePath}/v/grant?userid="+moblie+"&yphone="+yphone;
			}
	</script>
  </head>
  <body>
  	<div class="container-fluid">
      <div class="row">
      	<input type="hidden" name="moblie" id="moblie" value="${moblie}">
      	<input type="hidden" name="yphone" id="yphone" value="${yphone}">
     	<table border="0px solid red" width="100%" height="100%">

     		<tr height="15%" align="center" style="background:url(${basePath}/csh/image/e_image.jpg);background-size:100%;" >
     			<td colspan="3"></td>
     		</tr>
     		<tr height="15%" onclick="rightUnit()">
     			<td colspan="3">
     					<div style="border: 2px #f3f3f3 solid; width: 90%; margin-left: 5%; height: 60%;" >
	     				<div style="float: left; border: px red solid; width: 15%; height:100%;"><img alt="" src="${basePath}/csh/image/man.jpg" height="45px;" style="border: 0px red solid;"></div>
	     				<div style="float: left; border: px red solid; width: 55%; height:100%;font-size: 16px; padding-top: 10px;">授权人员管理</div>
	     				<div style="float: left; border: px red solid; width: 30%; height:100%;text-align: right; color: #abb5b8; padding-top: 10px;">${size}/${numbers}人</div>
     				</div>
     			</td>
     		</tr>
     		<tr height="8%">
     			<td colspan="3" style="padding-left: 5%; font-size: 16px; color: black;">进门记录(前三条)</td>
     		</tr>
				   <#list list as v>
		     			<tr height="14%">
			     			<td colspan="3" onclick="systemMassage()">
			     				<div style="float: left; border: px red solid; width: 60%; margin-left: 5%; padding-top:px; padding-bottom:px; text-align: center; color: #abb5b8;">${name}  刷脸回家<br/><br/>${v.datetime}</div>
			     				<div style="float: left; border: px red solid; width: 30%; padding-top:1px; padding-bottom:1px; text-align: right; color: #abb5b8;"><img alt="" src="${basePath}/csh/image/homePageBlack.jpg" style="border: 0px red solid;"></div>
		     					<br/><br/><br/><br/>
		     					<div style="border: 1px #bbbbbb solid;" ></div>
			     			</td>
		     			</tr>
                    </#list>
		     		<#if opensize == 2>
		     			<tr height="14%">
			     			<td colspan="3" onclick="systemMassage()">
			     				<div style="float: left; border: px red solid; width: 70%; margin-left: 5%; padding-top:px; padding-bottom:px; text-align: center; color: #abb5b8;">暂无</div>
			     				<div style="float: left; border: px red solid; width: 20%; padding-top:1px; padding-bottom:1px; text-align: right; color: #abb5b8;"><img alt="" src="${basePath}/csh/image/homePageBlack.jpg" style="border: 0px red solid;"></div>
		     					<br/><br/><br/>
		     					<div style="border: 1px #bbbbbb solid;" ></div>
			     			</td>
		     			</tr>
		     		</#if>

		     		<#if opensize ==1>
		     			<tr height="14%">
			     			<td colspan="3" onclick="systemMassage()">
			     				<div style="float: left; border: px red solid; width: 70%; margin-left: 5%; padding-top:px; padding-bottom:px; text-align: center; color: #abb5b8;">暂无</div>
			     				<div style="float: left; border: px red solid; width: 20%; padding-top:1px; padding-bottom:1px; text-align: right; color: #abb5b8;"><img alt="" src="${basePath}/csh/image/homePageBlack.jpg" style="border: 0px red solid;"></div>
		     					<br/><br/><br/>
		     					<div style="border: 1px #bbbbbb solid;" ></div>
			     			</td>
		     			</tr>
		     			<tr height="14%">
			     			<td colspan="3" onclick="systemMassage()">
			     				<div style="float: left; border: px red solid; width: 70%; margin-left: 5%; padding-top:px; padding-bottom:px; text-align: center; color: #abb5b8;">暂无</div>
			     				<div style="float: left; border: px red solid; width: 20%; padding-top:1px; padding-bottom:1px; text-align: right; color: #abb5b8;"><img alt="" src="${basePath}/csh/image/homePageBlack.jpg" style="border: 0px red solid;"></div>
		     					<br/><br/><br/>
		     					<div style="border: 1px #bbbbbb solid;" ></div>
			     			</td>
		     			</tr>
		     		</#if>

		     		<#if opensize ==0>
		     			<tr height="14%">
			     			<td colspan="3" onclick="systemMassage()">
			     				<div style="float: left; border: px red solid; width: 70%; margin-left: 5%; padding-top:px; padding-bottom:px; text-align: center; color: #abb5b8;">暂无</div>
			     				<div style="float: left; border: px red solid; width: 20%; padding-top:1px; padding-bottom:1px; text-align: right; color: #abb5b8;"><img alt="" src="${basePath}/csh/image/homePageBlack.jpg" style="border: 0px red solid;"></div>
		     					<br/><br/><br/>
		     					<div style="border: 1px #bbbbbb solid;" ></div>
			     			</td>
		     			</tr>
		     			<tr height="14%">
			     			<td colspan="3" onclick="systemMassage()">
			     				<div style="float: left; border: px red solid; width: 70%; margin-left: 5%; padding-top:px; padding-bottom:px; text-align: center; color: #abb5b8;">暂无</div>
			     				<div style="float: left; border: px red solid; width: 20%; padding-top:1px; padding-bottom:1px; text-align: right; color: #abb5b8;"><img alt="" src="${basePath}/csh/image/homePageBlack.jpg" style="border: 0px red solid;"></div>
		     					<br/><br/><br/>
		     					<div style="border: 1px #bbbbbb solid;" ></div>
			     			</td>
		     			</tr>
		     			<tr height="14%">
			     			<td colspan="3" onclick="systemMassage()">
			     				<div style="float: left; border: px red solid; width: 70%; margin-left: 5%; padding-top:px; padding-bottom:px; text-align: center; color: #abb5b8;">暂无</div>
			     				<div style="float: left; border: px red solid; width: 20%; padding-top:1px; padding-bottom:1px; text-align: right; color: #abb5b8;"><img alt="" src="${basePath}/csh/image/homePageBlack.jpg" style="border: 0px red solid;"></div>
		     					<br/><br/><br/>
		     					<div style="border: 1px #bbbbbb solid;" ></div>
			     			</td>
		     			</tr>
		     		</#if>

     		<tr height="10%">
     			<td colspan="3">
     			</td>
     		</tr>
     		<tr height="10%">
     			<td colspan="3">
     					<div style="border: 1px #bbbbbb solid;" ></div>
	     				<div style="float: left; border: px red solid; margin-top:5px; width: 45%; margin-left: 5%; text-align: center; color: #27a2f0; font-size: 10px;"><img alt="" src="${basePath}/csh/image/homePage.jpg" style="border: 0px red solid;"><br>主页</div>
	     				<div style="float: left; border: px red solid; margin-top:5px; width: 45%; text-align: center; font-size: 10px;" onclick="my()"><img alt="" src="${basePath}/csh/image/mybalck.jpg" style="border: 0px red solid;"><br>我的</div>
     			</td>
     		</tr>
     	</table>
      </div>
    </div>
  </body>
</html>
